package com.family.model;

import java.io.Serializable;

/**
 * 关系
 */
public class Relationship implements Serializable {
    private int id;
    /**
     * 用户id
     */
    private User user;
    /**
     * 关系
     */
    private RelationShipState relationShip;
    /**
     * 关系用户
     */
    private User toUser;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public RelationShipState getRelationShip() {
        return relationShip;
    }

    public void setRelationShip(RelationShipState relationShip) {
        this.relationShip = relationShip;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public User getToUser() {
        return toUser;
    }

    public void setToUser(User toUser) {
        this.toUser = toUser;
    }
}
